package com.java2207.group1.service;

import com.java2207.group1.bo.PurchaseBo;
import com.java2207.group1.common.LayuiPageVo;
import com.java2207.group1.pojo.Purchase;

import java.util.List;
import java.util.Map;

public interface PurchaseService {
    int addPurchase(Purchase purchase);

    int deletePurchase(Integer id);

    int updatePurchase(Purchase purchase);

    LayuiPageVo<Purchase> purchasePageDate(Map<String, Object> params);

    List<PurchaseBo> purchaseExcelData(Map<String, Object> params);

//    List<PieVo> meatPieData();
//
//    List<BarVo> meatBarData();
}
